Operation method of electronic device for sensing optical signal and electronic device

ABSTRACT

An operation method of an electronic device for sensing an optical signal is provided. The electronic device includes a plurality of optical sensors and a plurality of light-emitting elements disposed adjacent to the plurality of optical sensors. The operation method of the electronic device for sensing the optical signal includes the following steps. The optical signal is provided to a first optical sensor of the plurality of optical sensors. The first optical sensor outputs a driving signal when dimming the plurality of light-emitting elements adjacent to the first optical sensor. Therefore, the accuracy of sensing the optical signal may be effectively increased.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority of China Patent Application No.202010284110.0, filed on Apr. 13, 2020, the entirety of which isincorporated by reference herein.

BACKGROUND OF THE DISCLOSURE Field of the Disclosure

The present disclosure relates to an operation method, and in particularit relates to an operation method of an electronic device for sensing anoptical signal and an electronic device.

Description of the Related Art

A conventional electronic device may sense light generated by a laserpen, or the reflected light generated by a finger touching an electronicdevice through an optical sensor, in order to determine the position ofthe laser pen or the finger on the electronic device. However, since theproper operation of the optical sensor may be affected by ambient lightor light with a corresponding brightness that is generated by thelight-emitting element of the electronic device, the accuracy of sensingthe optical signal may be decreased. Therefore, a new driving design isneeded to solve the above problem.

BRIEF SUMMARY OF THE DISCLOSURE

An embodiment of the disclosure provides an operation method of anelectronic device for sensing an optical signal. The electronic deviceincludes a plurality of optical sensors and a plurality oflight-emitting elements disposed adjacent to the plurality of opticalsensors. The operation method of the electronic device for sensing theoptical signal includes the following steps. The optical signal isprovided to a first optical sensor of the plurality of optical sensors.The first optical sensor outputs a driving signal when dimming theplurality of light-emitting elements adjacent to the first opticalsensor.

In addition, an embodiment of the disclosure provides an operationmethod for sensing an optical signal, which includes the followingsteps. An electronic device is provided, wherein the electronic deviceincludes a plurality of optical sensors and a plurality oflight-emitting elements. The plurality of light-emitting elements emit afirst optical signal, wherein the first optical signal has a first graylevel. The plurality of light-emitting elements emitting a secondoptical signal, wherein the second optical signal has a second graylevel, and the second gray level and the first gray level are different.An object is provided, wherein the object reflects the second opticalsignal to form a third optical signal. A first optical sensor of theplurality of optical sensors outputs a driving signal according to thethird optical signal.

In addition, an embodiment of the disclosure provides an electronicdevice, which includes a substrate, a first light-emitting element, asecond light-emitting element and an optical sensor. The firstlight-emitting element is disposed on the substrate. The secondlight-emitting element is disposed on the substrate, and the firstlight-emitting element is adjacent to the second light-emitting element.The optical sensor is disposed on the substrate, and the optical sensoris adjacent to the first light-emitting element and the secondlight-emitting element. The distance between the optical sensor and thefirst light-emitting element is less than half of the distance betweenthe first light-emitting element and the second light-emitting element.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure can be fully understood by reading the subsequentdetailed description and examples with references made to theaccompanying drawings, wherein:

FIG. 1 is a schematic view of an electronic device according to anembodiment of the disclosure;

FIG. 2 is an operation timing diagram of an optical sensor andlight-emitting elements of an electronic device according to anembodiment of the disclosure;

FIG. 3 is an operation timing diagram of an optical sensor andlight-emitting elements of an electronic device according to anembodiment of the disclosure;

FIG. 4 is a schematic view of an electronic device according to anotherembodiment of the disclosure;

FIG. 5 is a cross-sectional view of the electronic device in FIG. 4taken along a line A-A′;

FIG. 6 is a partial cross-sectional view of the electronic device inFIG. 4 taken along line A-A′;

FIG. 7 is a stereogram of the electronic device in FIG. 4 along lineA-A′;

FIG. 8 is a flowchart of an operation method of an electronic device forsensing an optical signal according to an embodiment of the disclosure;and

FIG. 9 is a flowchart of an operation method of an electronic device forsensing an optical signal according to an embodiment of the disclosure.

DETAILED DESCRIPTION OF THE DISCLOSURE

In order to make objects, features and advantages of the disclosure moreobvious and easily understood, the embodiments are described below, andthe detailed description is made in conjunction with the drawings. Inorder to help the reader to understand the drawings, the multipledrawings in the disclosure may merely depict a part of the entiredevice, and the specific components in the drawing are not drawn toscale.

The specification of the disclosure provides various embodiments toillustrate the technical features of the various embodiments of thedisclosure. The configuration, quantity, and size of each component inthe embodiments are for illustrative purposes only, and are not intendedto limit the disclosure. In addition, if the reference number of acomponent in the embodiments and the drawings appears repeatedly, it isfor the purpose of simplifying the description, and does not mean toimply a relationship between different embodiments.

Furthermore, use of ordinal terms such as “first”, “second”, etc., inthe specification and the claims to describe a claim element does not byitself connote and represent the claim element having any previousordinal term, and does not represent the order of one claim element overanother or the order of the manufacturing method, either. The ordinalterms are used merely as labels to distinguish one claim element havinga certain name from another element having the same name.

In the disclosure, the technical features of the various embodiments maybe replaced or combined with each other to complete other embodimentswithout being mutually exclusive.

FIG. 1 is a schematic view of an electronic device according to anembodiment of the disclosure. In some embodiments, the electronic device100 may include a liquid crystal (LC), an organic light-emitting diode(OLED), a light-emitting diode (LED), a quantum dot (QD), afluorescence, a phosphor, other suitable materials, or a combinationthereof, but the disclosure is not limited thereto. The light-emittingdiode may include, for example, a mini light-emitting diode (mini LED),a micro light-emitting diode (micro LED), a quantum dot light-emittingdiode (QLED/QDLED). In some embodiments, the electronic device 100 maybe a display device, an antenna device, a sensing device, a touchdisplay, a curved display or a free shape display, and may also be abendable or flexible spliced display device, but the disclosure is notlimited thereto. The antenna device may be, for example, a liquidcrystal antenna, but the disclosure is not limited thereto. It should benoted that the electronic device may be any combination of theforegoing, but the disclosure is not limited thereto. Furthermore, theappearance of the electronic device may be rectangular, circular,polygonal, a shape with curved edges, or other suitable shapes. Theelectronic device may include peripheral systems, such as a drivingsystem, a control system, a light source system, a shelf system, etc.,to support the display device or the antenna device.

Please refer to FIG. 1 . The electronic device 100 may include aplurality of optical sensors 110_11˜110_MN and a plurality oflight-emitting elements 120_11˜120_KL, wherein M, N, K and L arepositive integers greater than 1. In the embodiment, K and L are greaterthan M and N, i.e., a number of light-emitting elements 120_11˜120_KL isgreater than a number of optical sensors 110_11˜110_MN. In someembodiments, M and N may be the same or different, and K and L may bethe same or different. In the embodiment, the optical sensor110_11˜110_MN may be made of thin film transistors (TFTs) or othersensors, but the disclosure is not limited thereto. In addition, theoptical sensors 110_11˜110_MN are used to sense the optical signalgenerated by the light source device (not shown). The above light sourcedevice is, for example, a laser light pen or an infrared light pen, butthe disclosure is not limited thereto.

The light-emitting elements 120_11˜120_KL may be disposed adjacent tothe optical sensors 110_11˜110_MN. For example, the light-emittingelement 120_11, the light-emitting element 120_12, the light-emittingelement 120_21 and the light-emitting element 12022 may be disposedadjacent to the optical sensor 110_11. That is, for example, there areno other light-emitting elements or optical sensors between thelight-emitting element 120_11 and the optical sensor 110_11, and thereare no other light-emitting elements or optical sensors between thelight-emitting element 120_12 and the optical sensor 110_11. Thelight-emitting element 120_13, the light-emitting element 120_14, thelight-emitting element 120_23 and the light-emitting element 120_24 maybe disposed adjacent to the optical sensor 110_12. The light-emittingelement 120_1L-1, the light-emitting element 120_1L, the light-emittingelement 120_2L-1 and the light-emitting element 120_2L may be disposedadjacent to the optical sensor 110_1N. The manner in which the remaininglight-emitting elements and the remaining optical sensors are disposedadjacent to each other may be deduced by analogy from the description ofthe above embodiment.

In the embodiment, the light-emitting elements 120_11˜120_KL may be theorganic light-emitting diode, the light-emitting diode (LED), such asthe mini light-emitting diode, the micro light-emitting diode, thequantum dot light-emitting diode, etc., but the disclosure is notlimited thereto. In addition, the light-emitting elements 120_11˜120_KLmay be a light-emitting die or a package form including thelight-emitting die. Furthermore, the light-emitting elements120_11˜120_KL may generate lights of a single color, such as a whitelight, or lights of multiple colors, such as a red light, a green light,a blue light, but the disclosure is not limited thereto.

In the embodiment, the user may operate the light source device togenerate the optical signal to the electronic device 100. That is, theoptical signal is provided to a first optical sensor of the opticalsensors 110_11˜110_MN of the electronic device 100, such as the opticalsensor 110_11. Then, when the light-emitting elements (such as thelight-emitting element 120_11, the light-emitting element 120_12, thelight-emitting element 120_21 and the light-emitting element 120_22)adjacent to the optical sensor 110_1 are dimmed, the optical sensor110_1 outputs a driving signal, allowing the electronic device 100 todetermine the position of the optical signal. In the embodiment, thelight-emitting element is dimmed to decrease the gray level of thelight-emitting element, for example, to 50% or less of the original graylevel. Furthermore, the gray level of the light-emitting element may bedecreased to zero, for example, when the light-emitting element isturned off and does not generate an optical signal.

In some embodiments, the electronic device 100 may further include aplurality of detection periods. The detection periods are periods duringwhich the optical sensors 110_11˜110_MN detect and are detected by aprocessing device (not shown) in the electronic device 100 in order togenerate corresponding driving signals. At the same time, thelight-emitting elements 120_11˜120_KL adjacent to the optical sensors110_11˜110_MN may be dimmed during the corresponding detection periods.For example, when the optical sensor 110_11 detects during the detectionperiod, at least one or all of the light-emitting element 120_11, thelight-emitting element 120_12, the light-emitting element 120_21 and thelight-emitting element 120_22 may be dimmed during the correspondingdetection period. When the optical sensor 110_12 detects during thedetection period, at least one or all of the light-emitting element120_13, the light-emitting element 120_14, the light-emitting element120_23 and the light-emitting element 120_24 may be dimmed during thecorresponding detection period. The operation of the remaininglight-emitting elements and the remaining optical sensors may be deducedby analogy from the description of the above embodiment.

In some embodiments, the optical sensors 110_11˜110_MN may detect inorder, but the disclosure is not limited thereto. For example, thedetective order may be the optical sensor 110_11, the optical sensor110_12, the optical sensor 110_13 . . . . In addition, the detectiveorder may also be the optical sensors 110_11˜110_1N, the optical sensors110_21˜110_2N, the optical sensors 110_31˜110_3N . . . .

In some embodiments, the optical sensors 110_11˜110_MIN may detect in askippingly order, but the disclosure is not limited thereto. Forexample, the detective order may be the optical sensor 110_11, theoptical sensor 110_13, the optical sensor 110_15, . . . . In addition,the detective order may also be the optical sensors 110_11˜110_1N, theoptical sensors 110_31˜110_3N, the optical sensors 110_51˜110_5N . . . .

In some embodiments, the optical sensors 110_11˜110_MN may detect in anirregular order, but the disclosure is not limited thereto. For example,the detective order may be the optical sensor 110_11, the optical sensor110_23 (not marked), the optical sensor 110_41 (not marked) . . . . Inaddition, the detective order may also be the optical sensors110_11˜110_1N, the optical sensors 110_51˜1105N (not marked), theoptical sensors 110_21˜110_2N (not marked).

In some embodiments, all of the optical sensors 110_11˜110_MN may detectduring a detection period, and generate the corresponding drivingsignals. At the same time, all of the light-emitting elements120_11˜120_KL are dimmed during the detection period. Therefore, thepossibility that the optical sensors 110_11˜110_MN will mistakenlydetermine that the light emitted by the adjacent light-emitting elements110_11˜110_MN is the optical signal generated by the light source devicemay be effectively decreased, effectively increasing the detectionaccuracy of the optical sensors 110_11˜110_MN.

FIG. 2 is an operation timing diagram of an optical sensor andlight-emitting elements of an electronic device according to anembodiment of the disclosure. For the convenience of description, theelectronic device 100 including the optical sensor 110_11, thelight-emitting element 120_11, the light-emitting element 120_12, thelight-emitting element 120_21 and the light-emitting element 120_22 istaken as an example. The electronic device 100 may include, for example,a frame period F11, a frame period F12, a frame period F21 and a frameperiod F22 during a display period. The frame period F11 may include alight-emitting period L11 and a non-light-emitting period N11 of thelight-emitting element 120_11 or the light-emitting element 120_12. Inan embodiment of the disclosure, the non-light-emitting period N11 mayinclude a blanking period. In other words, for example, before the frameperiod F11 enters the frame period F12, the light-emitting element120_11 or the light-emitting element 12012 may not receive a gate signalgenerated by the electronic device 100 for a period, and this periodthat the gate signal is not received is called the blanking period. Theframe period F12 follows the frame period F11, and the frame period F12may include a light-emitting period L12 and a non-light-emitting periodN12 of the light-emitting element 120_11 or the light-emitting element120_12. In an embodiment of the disclosure, the non-light-emittingperiod N12 may include the blanking period.

The frame period F21 follows the light-emitting period L11 of thelight-emitting element 120_11 or the light-emitting element 120_12, andthe frame period F21 may include a light-emitting period L21 and anon-light-emitting period N21 of the light-emitting element 120_21 orthe light-emitting element 120_22. In an embodiment of the disclosure,the non-light-emitting period N21 may include the blanking period. Theframe period F22 follows the frame period F21, and the frame period F22may include a light-emitting period L22 and a non-light-emitting periodN22 of the light-emitting element 120_21 or the light-emitting element120_22. In an embodiment of the disclosure, the non-light-emittingperiod N12 may include the blanking period.

During the light-emitting period L11 of the frame period F11, thelight-emitting element 120_11 and the light-emitting element 120_12 maybe turned on and emit a light. Then, during the light-emitting periodL21 of the frame period F21, the light-emitting element 120_21 and thelight-emitting element 12022 may be turned on and emit a light. At thistime, the optical sensor 110_11 may sense the optical signals generatedby the light-emitting element 120_11, the light-emitting element 120_12,the light-emitting element 120_21 and the light-emitting element 12022and generate a driving signal. However, during the frame period F11 andthe frame period F21, the driving signal has not yet been detected bythe processing device.

During the light-emitting period L12 of the frame period F12, thelight-emitting element 120_11 and the light-emitting element 120_12 aredimmed or turned off, i.e., the brightness of the light-emitting element120_11 and the light-emitting element 120_12 is decreased. For example,the brightness of the light-emitting element 120_11 and thelight-emitting element 120_12 is decreased to 50% or less of theoriginal brightness (or the gray level value). Then, during thelight-emitting period L22 of the frame period F22, the light-emittingelement 120_21 and the light-emitting element 120_22 are dimmed orturned off. In an overlap period of the light-emitting period L12 andthe light-emitting period L22, i.e., a detection period T1, the opticalsensor 110_11 may sense the optical signal generated by the light sourcedevice and generate the corresponding driving signal accordingly. Thedriving signal generated by the optical sensor 110_11 may betransmitted, for example, to the processing device of the electronicdevice 100, allowing the processing device to determine the position ofthe optical signal and perform the corresponding process.

In FIG. 2 , the detection period T1 is between one-half of thelight-emitting period L12 and one-half of the light-emitting period L22,but the disclosure is not limited thereto. In another embodiment, thedetection period T1 may be between the starting position of thelight-emitting period L12 and the ending position of the light-emittingperiod L22.

During the non-light-emitting period N12 of the frame period F12, i.e.,the blanking period of the light-emitting element 120_11 and thelight-emitting element 120_12, the light-emitting element 120_11 and thelight-emitting element 120_12 do not emit the light. Then, during thenon-light-emitting period N22 of the frame period F22, i.e., theblanking period of the light-emitting element 120_21 and thelight-emitting element 120_22, the light-emitting element 120_21 and thelight-emitting element 120_22 do not emit the light. In an overlapperiod of the non-light-emitting period N12 and the non-light-emittingperiod N22 (such as an overlap period of the blanking period of thelight-emitting element 120_11 and the light-emitting element 120_12 andthe blanking period of the light-emitting element 120_21 and thelight-emitting element 120_22), i.e., a detection period T2, the opticalsensor 110_11 may sense the optical signal generated by the light sourcedevice and generate the corresponding driving signal accordingly. Thedriving signal generated by the optical sensor 110_11 may betransmitted, for example, to the processing device of the electronicdevice 100, allowing the processing device to determine the position ofthe optical signal and perform the corresponding process. The operationof the remaining optical sensors 110_12˜110_MN may be deduced by analogyfrom the operation of the above optical sensor 110_11, and thedescription thereof is not repeated herein.

Therefore, during the light-emitting period of the frame period in whichthe light-emitting elements are dimmed (for example, the overlap periodof the light-emitting period L12 in which the light-emitting element120_11 or the light-emitting element 120_12 is dimmed and thelight-emitting period L22 in which the light-emitting element 120_21 orthe light-emitting element 120_22 is dimmed) or the non-light-emittingperiod of the light-emitting elements (for example, the overlap periodof the non-light-emitting period N12 of the light-emitting element120_11 or the light-emitting element 120_12 and the non-light-emittingperiod N22 of the light-emitting element 120_21 or the light-emittingelement 120_22), the optical sensor 110_11 may sense the optical signalgenerated by the light source device, so as to effectively decrease thepossibility of noise misjudgment or increase the detection accuracy ofthe optical sensor 110_11.

In addition, in some embodiments, in cases where the display frame ofthe electronic device 100 includes the frame with brightest and darkest(such as displaying a fireworks frame), when the optical signalgenerated by the light source device appears in the darkest position,the optical sensor may immediately sense the optical signal generated bythe light source device to generate the corresponding driving signal.When the optical signal generated by the light source device appears inthe brightest position, the optical sensor may use the above method tosense, so as to generate the corresponding driving signal. For example,the light-emitting element is dimmed, the optical sensor may sense thebrightness of the optical signal generated by the light source device togenerate the corresponding driving signal.

FIG. 3 is an operation timing diagram of an optical sensor andlight-emitting elements of an electronic device according to anotherembodiment of the disclosure. Please refer to FIG. 1 and FIG. 3 . Theelectronic device 100 of the embodiment is the same as the aboveembodiment, and the description thereof is not repeated herein. For theconvenience of description, the electronic device 100 including theoptical sensor 110_11, the light-emitting element 120_11, thelight-emitting element 120_12, the light-emitting element 120_21 and thelight-emitting element 120_22 is taken as an example. The operation ofthe remaining optical sensors 110_12˜110_MN may be deduced by analogyfrom the operation of the above optical sensor 110_11, and thedescription thereof is not repeated herein. The electronic device 100includes, for example, a frame period F11, a frame period F12, a frameperiod F21 and a frame period F22 during the display period. The frameperiod F11 may include light-emitting periods L11 and non-light-emittingperiods N11 of a plurality of light-emitting elements, for example, alight-emitting period L11 and a non-light-emitting period N11 of thelight-emitting element 120_11 or the light-emitting element 120_12. Theframe period F12 follows the frame period F11, and the frame period F12may include light-emitting periods L12 and non-light-emitting periodsN12 of the light-emitting elements.

The frame period F21 may include light-emitting periods L21 andnon-light-emitting periods N21 of the light-emitting elements, forexample, a light-emitting period L21 a non-light-emitting period N21 ofthe light-emitting element 120_21 or the light-emitting element 120_22.The frame period F22 follows the frame period F21, and the frame periodF22 may include light-emitting periods L22 and non-light-emittingperiods N22 of the light-emitting elements. In the embodiment, F11, F12,F21 and F22 are, for example, the frame periods of the electronic device100 in the display stage.

In the embodiment, the light-emitting element 120_11, the light-emittingelement 120_12, the light-emitting element 120_21 and the light-emittingelement 120_22 normally perform the function of the electronic device100 during the frame periods F11 and F21, respectively. This functionmay be, for example, displaying dynamic or static frames. During thenext frame period F12 and the frame period F22, the brightness of thelight-emitting period L12 and the light-emitting period L22 isdecreased. At this time, the light-emitting period L12 and thelight-emitting period L22 are added to form a detection period T3. Theprocessing device of the electronic device 100 may receive the drivingsignal generated by the optical sensor 110_11 during the detectionperiod T3 and perform the corresponding process. For example, theprocessing device determines the coordinates of the position of theelectronic device 100 that is touched by the finger using the detecteddriving signal.

In the embodiment, the brightness may also be transformed into acorresponding gray level value to indicate that the gray level value ishigh or the brightness is high. For example, when the electronic device100 is performing a function normally, the highest brightness appears,for example, to be gray level 255. When the processing device receivesthe driving signal during the detection period T3, the electronic device100 sends a signal, such as a pulsed signal, to the light-emittingelement 120_11, the light-emitting element 120_12, the light-emittingelement 120_21 and the light-emitting element 120_22. The light-emittingelement 120_11, the light-emitting element 120_12, the light-emittingelement 120_21 and the light-emitting element 120_22 generate a lowergray level during the corresponding light-emitting periods L12 and L22.For example, the light-emitting brightness with the highest brightnessof the gray level 255 is taken as an example, the light-emittingelements are adjusted to a relatively lower brightness of the gray level190, the noise signal received by the processing device from the drivingsignal not generated by the optical sensor 110_11 may be decreased, soas to improve the signal-to-noise ratio (SNR) or increase the detectionaccuracy of the processing device.

In the embodiment, the pulsed signal refers to a periodic signal, butthe time axis of the previous signal and the next signal is notcontinuous. The type of the pulsed signal is not limited. For example,the pulsed signal may be a rectangular pulse, a square wave pulse, atriangular pulse or other suitable pulse signals. It should be notedthat decreasing the brightness of light-emitting period L12 andlight-emitting period L22 and receiving the driving signal generated bythe optical sensor 110_11 during the detection period T3 is an exampleof the disclosure.

In another embodiment, the brightness of the light-emitting element120_11, the light-emitting element 120_12, the light-emitting element120_21 and the light-emitting element 12022 may be increased during thedetection period, so that the processing device of the electronic device100 receives the driving signal generated by the optical sensor 110_11.For example, referring to FIG. 3 , the frame period F13 and the frameperiod F23 are the period that the electronic device 100 normallyperforms the function. When the processing device starts to detect, theelectronic device 100 sends a signal, such as a pulsed signal, such thatthe brightness of the light-emitting element 120_11, the light-emittingelement 120_12, the light-emitting element 120_21 and the light-emittingelement 120_22 during the corresponding light-emitting period L13 andlight-emitting period L23 is higher than the brightness of thelight-emitting element 120_11, the light-emitting element 120_12, thelight-emitting element 120_21 and the light-emitting element 120_22during the previous frame period F12. At this time, the added time ofthe light-emitting period L13 and the light-emitting period L23 may be adetection period T4, and the processing device may receive the drivingsignal generated by the optical sensor 11011 during the detection periodT4 and perform the corresponding process.

Therefore, the brightness of the light-emitting elements during thedetection period is changed, such that the optical sensor 110_11 may bedetected by the processing device during the light-emitting period ofthe frame period of the electronic device 100, so as to effectivelydecrease the possibility of noise misjudgment or increase the detectionaccuracy of the processing device. As for the details and steps of thedetection may be described in the subsequent embodiments.

FIG. 4 is a schematic view of an electronic device according to anotherembodiment of the disclosure. FIG. 5 is a cross-sectional view of theelectronic device in FIG. 4 taken along a line A-A′. Please refer toFIG. 4 and FIG. 5 . The electronic device 400 may include a plurality oflight-emitting element and a plurality of optical sensors, as shown inthe electronic device 100. It is worth noting that, for the convenienceof description, FIG. 4 shows a part of the situation of the electronicdevice. Please refer to FIG. 4 . The electronic device 400 at leastincludes a substrate 410, a light-emitting element 120_11, alight-emitting element 120_12, a light-emitting element 120_21, alight-emitting element 120_22 and an optical sensor 440. In anembodiment, the electronic device 400 may be a display device, but thedisclosure is not limited thereto. In addition, the light-emittingelement 120_11, the light-emitting element 120_12, the light-emittingelement 120_21, the light-emitting element 120_22 and the optical sensor440 shown in FIG. 4 and FIG. 5 are an exemplary embodiment of thedisclosure, but not used to limit the number or shape of light-emittingelements and optical sensor of the disclosure. The user may adjust thenumber or shape of the light-emitting elements and optical sensoraccording to the requirements thereof. The disposing of thelight-emitting elements and the optical sensor may not necessarilyfollow the disposing manner shown in FIG. 4 . The light-emitting element120_11 and the light-emitting element 12021 may be alternativelydisposed on the Y direction or other suitable design manners, as long asthe effect of the disclosure may be achieved.

In the embodiment, the substrate 410 may be a rigid substrate or aflexible substrate. The material of the substrate includes, for example,glass, quartz, sapphire, polyimide (PI), polycarbonate (PC) orpolyethylene terephthalate (PET) or a combination thereof but thedisclosure is not limited thereto. The light-emitting element 120_11,the light-emitting element 120_12, the light-emitting element 120_21 andthe light-emitting element 120_22 are disposed on the substrate 410, andthe light-emitting element 120_11 is adjacent to the light-emittingelement 120_22. In the embodiment, the light-emitting element 120_11,the light-emitting element 120_12, the light-emitting element 120_21 andthe light-emitting element 120_22 may be the OLED, the LED, such as themini LED, the micro LED, the QLED/QD-LED etc., but the disclosure is notlimited thereto.

The optical sensor 440 is disposed on the substrate 410 and adjacent tothe light-emitting element 120_11 and the light-emitting element 120_22.In the embodiment, the distance D1 between the optical sensor 440 andthe light-emitting element 120_11 is less than half of the distance D2between the light-emitting element 120_11 and the light-emitting element120_22. That is, the optical sensor 440 is disposed adjacent to thelight-emitting element 120_11 and far away from the light-emittingelement 120_22. In addition, the distance D1 and the distance D2 are,for example, the shortest distances between two objects in a top viewdirection of the electronic device 400, such as the X-Y plane. Thedisposing position of the optical sensor 440 shown in FIG. 5 is anexemplary embodiment of the disclosure, but the disclosure is notlimited thereto. The user may adjust the disposing position of theoptical sensor 440 according to the requirements thereof. The distanceD1 between the optical sensor 440 and the light-emitting element 120_11is still less than half of the distance D2 between the light-emittingelement 120_11 and the light-emitting element 120_22, and the sametechnical effect may be achieved.

In some embodiments, since the optical sensor 440 is adjacent to thelight-emitting element 120_11 and the height of the light-emittingelement 12011 is higher than the height of the optical sensor 440, thelight-emitting element 120_11 may be used to shield at least some of thenoise light 450 coming toward the optical sensor 440, as indicated bythe “X” marked in FIG. 5 . The height referred to in the disclosure may,for example, be the distance between the surface 410 a of the substrate410 closest to the light-emitting element 120_11 and the top surface120_11 a of the light-emitting element 120_11. Similarly, the height ofthe optical sensor 440 refers to the distance from the surface 410 a tothe top surface 440 a of the optical sensor 440. The noise light 450 ofthe embodiment may be an ambient light or a light that is not sensed bythe optical sensor 440. Therefore, the optical sensor 440 may beshielded from the interference of the noise light 450, improving thesignal-to-noise ratio of the optical sensor 440 or increasing thesensing accuracy of the optical sensor 440.

In some embodiments, in a normal direction of the substrate 410, such asa Z direction, the optical sensor 440 may partially overlap thelight-emitting element 120_11. That is, a part of the optical sensor 440is disposed below the light-emitting element 120_11, and another part ofthe optical sensor 440 is exposed outside the light-emitting element120_11. The term “below” in this embodiment indicates that when viewedfrom the Z direction, the light-emitting element 120_11 and the opticalsensor 440 overlap completely or partially. When the overlap range ofthe light-emitting element 120_11 and the optical sensor 440 in the Zdirection is larger, the light-emitting element 120_11 may decrease morenoise light 450 toward the optical sensor 440. Therefore, the opticalsensor 440 may decrease the influences from the noise light 450, so asto improve the signal-to-noise ratio of the optical sensor 440 orincrease the detection accuracy of the optical sensor 440.

The embodiment shown in FIG. 6 takes the optical sensor 440 directlybelow the light-emitting element 120_11 as an example. When thelight-emitting element 120_11 and the optical sensor 440 completelyoverlap in the Z direction, the light-emitting element 120_11 may shieldmore noise light 450, as “X” marked in FIG. 6 . Therefore, the opticalsensor 440 may decrease the influences from the noise light 450, so asto improve the signal-to-noise ratio of the optical sensor 440 orincrease the detection accuracy of the optical sensor 440. Next, thedetails and steps of the detection of the disclosure will be described.

FIG. 7 is a stereogram of the embodiment in FIG. 4 . Please refer toFIG. 7 and FIG. 4. The electronic device 400 may include a plurality oflight-emitting elements, such as a light-emitting element 120_11, alight-emitting element 120_12, a light-emitting element 120_21 and alight-emitting element 120_22. Please refer to FIG. 3 . Thelight-emitting elements may generate optical signals during the frameperiod F11, such as an optical signal OS1 marked in FIG. 7 , and theoptical signal OS1 has a corresponding first gray level. In addition,the light-emitting elements may also generate an optical signal OS2during the frame period F12, and the optical signal OS2 has acorresponding second gray level. In an embodiment, the optical signalOS1 may represent the optical signal emitted by the light-emittingelements during the display period. The optical signal OS2 may representthe optical signal emitted by the light-emitting elements during thedetection period. At this time, the optical signal OS2 may be, forexample, a pulsed optical signal.

Please refer to FIG. 7 . In the overall operation, the light-emittingelements may generate the optical signal OS2 during the detectionperiod. The user may use an object 700 to touch the electronic device400, such that the object 700 may reflect the optical signal OS2generated by the light-emitting elements far away from the opticalsensor 440, such as the light-emitting element 120_22, to generate anoptical signal OS3 (regarded as a reflected optical signal). In theembodiment, the above object 700 may be a finger or a stylus, but thedisclosure is not limited thereto, as long as the effect of thedisclosure may be achieved.

Then, the optical sensor 440 may sense the optical signal OS3, andoutput the driving signal during the detection period of the processingdevice according to the optical signal OS3. Therefore, since the noiselight 450 may be partially or completely shielded by the light-emittingelements of the optical sensor 440, such that the light-emittingelement, the optical sensor 440 may decrease the interference from thenoise light 450, so as to improve the signal-to-noise ratio of theoptical sensor 440 or increase the detection accuracy of the opticalsensor 440.

In more detail, since the optical sensor 440 is used to sense theoptical signal OS3 generated by the object 700 reflecting the opticalsignal OS2, in order to decrease the influence of the optical sensor 440on the noise light 450, the gray level values of the light-emittingelements adjacent to the optical sensor 440 may be changed, i.e., thelight brightness of the light-emitting elements are changed. Forexample, when the function of the electronic device 400 is performednormally, the light-emitting elements emit the optical signal OS1, andthe optical signal OS1 has a first gray level. During the detectionperiod, the light-emitting elements emit the optical signal OS2, and theoptical signal OS2 has a second gray level, wherein the second graylevel and the first gray level are different.

In an embodiment, if the first gray level is the highest gray level,taking gray levels 0 to 255 as an example, for example, the gray level255, and the value of the second gray level may be lower the value ofthe first gray level, for example, the second gray level is the graylevel 190 In another embodiment, if the first gray level is in a stateof a lower gray level, for example, the gray level 62, the value of thesecond gray level may be higher than the value of the first gray level,for example, the second gray level is the gray level 255. The object 700may reflect the optical signal OS2 and generate the optical signal OS3.The optical sensor adjacent to these light-emitting elements, such asthe optical sensor 440 of the optical sensors, outputs the drivingsignal according to the optical signal OS3. This driving signal may bereceived, for example, by the processing device of the electronic device400, such that the processing device may determine the position of theoptical signal and perform the corresponding process.

FIG. 8 is a flowchart of an operation method of an electronic device forsensing an optical signal according to an embodiment of the disclosure.For example, FIG. 8 corresponds to FIG. 1 to FIG. 2 . In the embodiment,the electronic device includes a plurality of optical sensors and aplurality of light-emitting elements disposed adjacent to the pluralityof optical sensors. In step S802, the method involves providing theoptical signal to a first optical sensor of the plurality of opticalsensors. In step S804, the method involves the first optical sensoroutputting a driving signal when dimming the plurality of light-emittingelements adjacent to the first optical sensor. In some embodiments,different optical sensors detect during different detection periods, andthe light-emitting elements adjacent to the optical sensors are dimmedduring the corresponding detection periods. In some embodiments, all theplurality of optical sensors detect during a detection period, and allthe plurality of light-emitting elements are dimmed during the detectionperiod.

FIG. 9 is a flowchart of an operation method of an electronic device forsensing an optical signal according to an embodiment of the disclosure.For example, FIG. 9 corresponds to FIG. 3 to FIG. 7 . In the embodiment,the electronic device includes a plurality of optical sensors and aplurality of light-emitting elements disposed adjacent to the pluralityof optical sensors. In step S902, the method involves the plurality oflight-emitting elements emitting a first optical signal, wherein thefirst optical signal has a first gray level. In step S904, the methodinvolves the plurality of light-emitting elements emitting a secondoptical signal, wherein the second optical signal has a second graylevel, and the second gray level and the first gray level are different.In step S906, the method involves providing an object. In step S908, themethod involves the object reflecting the second optical signal to forma third optical signal. In step S910, the method involves a firstoptical sensor of the plurality of optical sensors outputting a drivingsignal according to the third optical signal. In some embodiments, theprocessing device performs the detection during a period when theplurality of light-emitting elements emit the second optical signal.

In summary, according to the operation method of the electronic devicefor sensing the optical signal and the electronic device in theembodiments of the disclosure, the optical signal is provided to thefirst optical sensor of the optical sensors, and when the light-emittingelements adjacent to the first optical sensor are dimmed, the firstoptical sensor of the optical sensors outputs the driving signal.Therefore, the possibility that the optical sensors mistakenly determinethe light emitted by the adjacent light-emitting elements as the opticalsignal generated by the light source device may be decreased, so as toincrease the detection accuracy of the optical sensors. In addition, thedisclosure further sets the distance between the optical sensor and thefirst light-emitting element being less than half of the distancebetween the first light-emitting element and the second light-emittingelement, and the optical sensor senses the third optical signalgenerated by the object reflecting the second optical signal generatedby the light-emitting element, so as to output the driving signal.Therefore, the optical sensor may be shielded from the interference ofthe noise light, improving the signal-to-noise ratio of the opticalsensor or increasing the sensing accuracy of the optical sensor.

While the disclosure has been described by way of examples and in termsof the preferred embodiments, it should be understood that thedisclosure is not limited to the disclosed embodiments. On the contrary,it is intended to cover various modifications, combinations, and similararrangements (as would be apparent to those skilled in the art).Therefore, the scope of the appended claims should be accorded thebroadest interpretation to encompass all such modifications,combinations, and similar arrangements.

What is claimed is:
 1. An operation method of an electronic device forsensing an optical signal, wherein the electronic device comprises aplurality of optical sensors and a plurality of light-emitting elementsdisposed adjacent to the plurality of optical sensors, and the operationmethod of the electronic device for sensing the optical signalcomprises: providing the optical signal to a first optical sensor of theplurality of optical sensors; and the first optical sensor outputting adriving signal when dimming the plurality of light-emitting elementsadjacent to the first optical sensor; wherein the operation method ofthe electronic device for sensing the optical signal further comprises aplurality of detection periods; wherein each of the plurality of opticalsensors corresponds to at least one of the plurality of detectionperiods, the plurality of optical sensors detect during the plurality ofdetection periods, and the plurality of light-emitting elements adjacentto the plurality of optical sensors are dimmed during the correspondingdetection periods.
 2. An operation method of an electronic device forsensing an optical signal, wherein the electronic device comprises aplurality of optical sensors and a plurality of light-emitting elementsdisposed adjacent to the plurality of optical sensors, and the operationmethod of the electronic device for sensing the optical signalcomprises: providing the optical signal to a first optical sensor of theplurality of optical sensors; and the first optical sensor outputting adriving signal when dimming the plurality of light-emitting elementsadjacent to the first optical sensor; wherein all the plurality ofoptical sensors detect during a detection period, and all the pluralityof light-emitting elements are dimmed during the detection period.